package com.yc.yjh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 廖老师
 * @since 2023-07-21
 */
public class Heroes implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @TableId(value = "hero_id", type = IdType.AUTO)
    private Long heroId;

    /**
     * 角色名称
     */
    private String name;

    private String replace;

    /**
     * 角色图标
     */
    private String icon;


    public Long getHeroId() {
        return heroId;
    }

    public void setHeroId(Long heroId) {
        this.heroId = heroId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReplace() {
        return replace;
    }

    public void setReplace(String replace) {
        this.replace = replace;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return "Heroes{" +
        "heroId=" + heroId +
        ", name=" + name +
        ", replace=" + replace +
        ", icon=" + icon +
        "}";
    }
}
